package com.linsen.erp.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 员工-用工信息
 * </p>
 *
 * @author zhaoyong
 * @since 2024-10-08
 */
@Getter
@Setter
@TableName("employee_employment")
public class EmployeeEmploymentEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    /**
     * 员工id
     */
    @TableField("employee_id")
    private String employeeId;

    /**
     * 聘用形式：1，全职；2，实习
     */
    @TableField("type")
    private Integer type;

    /**
     * 员工状态：1，实习；2，正式；3，已离职；4，兼职
     */
    @TableField("status")
    private Integer status;

    /**
     * 基本工资
     */
    @TableField("basic_salary")
    private BigDecimal basicSalary;

    /**
     * 月休天数
     */
    @TableField("monthly_holiday")
    private Integer monthlyHoliday;

    /**
     * 入职日期
     */
    @TableField("onboarding_date")
    private LocalDate onboardingDate;

    /**
     * 试用期天数
     */
    @TableField("probation_period_days")
    private Integer probationPeriodDays;

    /**
     * 转正日期
     */
    @TableField("regularization_date")
    private LocalDate regularizationDate;


}
